<%-- 
    Document   : new
    Created on : 12/04/2012, 04:25:05 AM
    Author     : Jose Vasquez
--%>

<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
 
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@taglib uri="http://www.springframework.org/tags" prefix="spring"%>

<div class="container">
    <h1>Nuevo Servicio Adicional</h1><br/><br/>
    <form:form action="new" method="post" commandName="persona"  cssClass="form-horizontal">
        <div class="row">
            <div class="control-group">
                <label>Nombre:</label>
                <div class="controls">
                    <form:input path="NoServicio"></form:input>
                    <form:errors path="NoServicio" cssstyle="color:red"></form:errors>
                </div>
                
                <label>Costo:</label>
                <div class="controls">
                    <form:input path="StCosto"></form:input>
                    <form:errors path="StCosto" cssstyle="color:red"></form:errors>
                </div>
                
                 <label>Persona:</label>
                <div class="controls">
                    <form:input path="CoPersona"></form:input>
                    <form:errors path="CoPersona" cssstyle="color:red"></form:errors>
                </div>
                
                 <label>Flat:</label>
                <div class="controls">
                    <form:input path="FlServicio"></form:input>
                    <form:errors path="FlServicio" cssstyle="color:red"></form:errors>
                
                </div>
        <div class="actions" style="margin-left: 160px;">
            <input name="" value="Crear Servicio Adicional" type="submit" class="btn btn-primary">            
             <a href="<c:url value='/pages/servcicioadicional/new'/>" class="btn btn-primary">Cancelar</a>   
             
        </div>                
    </form:form>
</div>
